package cn.seaboot.admin.store.bean;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.Size;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * POJO
 * UI-列 [t_store_column]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "UI-列前端表格列配置 [t_store_column] 实体类")
public class StoreColumn implements Serializable {

    private static final long serialVersionUID = 148610407759798800L;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 表单ID
     */
    @Size( max = 32)
    @Schema(description = "表单ID")
    private String tableId;
    /**
     * 输入框类型
     */
    @Size( max = 32)
    @Schema(description = "输入框类型")
    private String type;
    /**
     * 字段名
     */
    @Size( max = 32)
    @Schema(description = "字段名")
    private String property;
    /**
     * 标签
     */
    @Size( max = 32)
    @Schema(description = "标签")
    private String label;
    /**
     * 宽度
     */
    @Schema(description = "宽度")
    private Double width;
    /**
     * 样式
     */
    @Size( max = 32)
    @Schema(description = "样式")
    private String style;
    /**
     * 数据字典
     */
    @Size( max = 32)
    @Schema(description = "数据字典")
    private String options;
    /**
     * 是否可用
     */
    @Schema(description = "是否可用")
    private Boolean disabled;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }
}
